package VistorPattern;

/**
 * @description:
 * @author: ywk
 * @date: 2020-08-16
 */
public class VisitorPatternDemo {
    public static void main(String[] args) {

        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}